//请求路径常量
import * as req_con from '../../utils/constant'
import {roleService} from '../service/RoleService'
export let roleController = (url,params) => {
    switch (url) {
        //role
        case req_con.ROLE_CONSTANT.ROLELISTGTE:
            return roleService(url,params)
        case req_con.ROLE_CONSTANT.ROLEADD:
            return roleService(url,params)
        case req_con.ROLE_CONSTANT.ROLEDELETE:
            return roleService(url,params)
        case req_con.ROLE_CONSTANT.ROLEUPDATE:
            return roleService(url,params)
        default:
            break;
    }
}